<extend name="Public:base"/>

<block name="body">
<h2>{$employee.first_name} {$employee.last_name}</h2>
<p>
    Bithdate: {$employee.birth_date} <br />
    Hiredate: {$employee.hire_date} <br /><br />
    Departments: <br />
    <volist name="departments" id="department">
        Department: {$department.dept_name} <br />
        From: {$department.from_date} <br />
        To: <if condition="($department.to_date eq '9999-01-01')"> Now <else/> {$department.to_date} </if> <br />
        <br />
    </volist>
    <br />
    Titles: <br />
    <volist name="titles" id="title">
        Title: {$title.title} <br />
        From: {$title.from_date} <br />
        To: <if condition="($title.to_date eq '9999-01-01')"> Now <else/> {$title.to_date} </if>
        <br /><br />
    </volist>
</p>
</block>
